package jmine.tec.hydra.domain.specification;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import jmine.tec.persist.annotation.DiscriminatorComment;
import bancosys.tec.component.Documentation;

/**
 * @author piercio
 * @deprecated Use jmine.tec.scheduling
 */
@Deprecated
@Entity
@DiscriminatorValue("1")
@DiscriminatorComment("AGENDADO")
public class HydraScheduledSpecification extends HydraSpecificationImpl {

    private String cronExpression;

    /**
     * @return o valor para o campo cronExpression
     */
    @Column(name = "CRON_EXPRESSION", length = 50)
    @Documentation("EXPRESSAO CRON PARA AGENDAMENTO DA ESPECIFICACAO.")
    public String getCronExpression() {
        return this.cronExpression;
    }

    /**
     * @param cronExpression o valor para o campo cronExpression
     */
    public void setCronExpression(String cronExpression) {
        this.cronExpression = cronExpression;
    }

}
